import request from '@/utils/request'
export const getList = (data) => {
    return request({
        url: '/common_problem/get_common_problem_list',
        method: 'post',
        data: data
    })
}


export const del = (id) => request({
    url: '/common_problem/del',
    method: 'post',
    data: { id: id }
})
export const add = (data) => request({
    url: '/common_problem/add',
    method: 'post',
    data: data
})
export const update = (data) => request({
    url: '/common_problem/edit',
    method: 'post',
    data: data
})

export const updateStatus = (data) => request({
    url: '/common_problem/modify_field',
    method: 'post',
    data: data
})